package com.mf.mapper;

import com.mf.entity.Positions;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mf.vo.positions.PositionsByCode;
import com.mf.vo.positions.PositionsByUserListVo;

import java.util.List;

/**
 * <p>
 * 持仓表 Mapper 接口
 * </p>
 *
 * @author mf
 * @since 2024-05-18
 */
public interface PositionsMapper extends BaseMapper<Positions> {

    List<PositionsByCode> findPositionsByUserId(Integer userId);

    List<PositionsByUserListVo> selectByUserList(Integer userId);
}
